﻿using FlatRedBall.Math.Geometry;
using Microsoft.Xna.Framework;

namespace Rvz.Game.Main.Collisions
{
    public class CameraCollisionShapeCollection
    {
        public CameraCollisionShapeCollection()
        {
            var topBounds = new AxisAlignedRectangle(22.25f, 0.25f) { X = 0f, Y = 17f, Color = Color.Red, Z = 3 };
            var bottomBounds = new AxisAlignedRectangle(22.25f, 0.25f) { X = 0f, Y = -17f, Color = Color.Red, Z = 3 };
            var leftBounds = new AxisAlignedRectangle(0.23f, 17.5f) { X = -22.5f, Y = 0.36f, Color = Color.Red, Z = 3 };
            var rightBounds = new AxisAlignedRectangle(0.23f, 17.5f) { X = 22.5f, Y = 0.36f, Color = Color.Red, Z = 3 };

            Shapes.AxisAlignedRectangles.Add(topBounds);
            Shapes.AxisAlignedRectangles.Add(bottomBounds);
            Shapes.AxisAlignedRectangles.Add(leftBounds);
            Shapes.AxisAlignedRectangles.Add(rightBounds);
        }

        public readonly ShapeCollection Shapes = new ShapeCollection();
    }
}
